﻿@using PAMD
@using PAMD.Business.Models
    ViewBag.Title = SiteConstant.Slogan;
    Layout = "../Shared/_Layout.cshtml";
}
@using (Html.BeginForm("AddNew", "Listing"))
{
    <div class="form-container-small">
        <strong>Your listings</strong>
        <fieldset class="field-container">
            <div>
                @if (ViewBag.Error != null && ViewBag.Error != "")
                {
                    <div class="red-box">
                        @ViewBag.Error
                    </div>
                }
                 <div class="left-align">
                    <div class="controlBox">
                        You have not listed any place, please add your listing here.
                        <input type="submit" class="right-align" value="Add new" />
                    </div>
                </div>
            </div>
        </fieldset>
    </div>
}